<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <f:view contentType="text/html">
        <h:head>
            <f:facet name="first">
                <meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
                <title>PrimeFaces</title>
            </f:facet>
        </h:head>

        <h:body>

            <p:layout fullPage="true">

                <p:layoutUnit position="north" size="100" resizable="true" closable="true" collapsible="true">
                    Generación de Estados Financieros
                </p:layoutUnit>

                <p:layoutUnit position="south" size="100" closable="true" collapsible="true">
                    Modulo Finanzas
                </p:layoutUnit>

                <p:layoutUnit position="west" size="175" header="Left" collapsible="true">
                    <p:menu>
                        <p:submenu label="Resources">
                            <p:menuitem value="Demo" url="http://www.primefaces.org/showcase-labs/ui/home.jsf" />
                            <p:menuitem value="Documentation" url="http://www.primefaces.org/documentation.html" />
                            <p:menuitem value="Forum" url="http://forum.primefaces.org/" />
                            <p:menuitem value="Themes" url="http://www.primefaces.org/themes.html" />

                        </p:submenu>

                    </p:menu>
                </p:layoutUnit>

                <p:layoutUnit position="center">
                    
                    <h:form>
                        
      <p:growl id="msgs" showDetail="true" /> 
    <h:panelGrid columns="2" cellpadding="5">
        <p:outputLabel for="inline" value="Inline:" />
        <p:calendar id="inline" value="#{calendarView.date1}" mode="inline" />
 
        <p:outputLabel for="popup" value="Fecha Inicio:" />
        <p:calendar id="popup" value="#{calendarView.date2}" />
 
        <p:outputLabel for="button" value="Fecha Fin:" />
        <p:calendar id="button" value="#{calendarView.date3}" showOn="button" />        
    </h:panelGrid>
             
      <p:growl id="growl" life="2000" />
     
    <p:commandButton value="Generar Reporte" id="ajax" update="growl" actionListener="#{buttonView.buttonAction}" styleClass="ui-priority-primary" />
 
    
</h:form>
                    <p:dataTable var="car" value="">
    <p:column headerText="Id">
        <h:outputText value="21584515" />
    </p:column>
 
    <p:column headerText="Entidad">
        <h:outputText value="Contabilidad" />
    </p:column>
 
    <p:column headerText="Encagador">
        <h:outputText value="Alfredo García" />
    </p:column>
 
    <p:column headerText="Cantidad">
        <h:outputText value="Q.250000" />
    </p:column>
</p:dataTable> 
                  
               </p:layoutUnit>

            </p:layout>

        </h:body>

    </f:view>
</html>

